<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SlideShowTopBanner.aspx.cs"
    Inherits="ASPNETVN.PORTAL.Modules.ADVERTISEMENT.Pages.SlideShowTopBanner" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script language="javascript" type="text/javascript" src="../SlideShow/js/mootools-1.2-core.js"></script>

    <script language="javascript" type="text/javascript" src="../SlideShow/js/mootools-1.2-more.js"></script>

    <script language="javascript" type="text/javascript" src="../SlideShow/js/SlideItMoo.js"></script>

    <link href="../SlideShow/css/styles.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body style="margin: 0;">
    <form id="form1" runat="server">
    <div id="gallery_container">
        <div id="thumb_container">
            <div id="thumbs">
                <%--<asp:DataList ID="gvItem" runat="server" RepeatDirection="Horizontal" RepeatColumns="1">
                    <ItemTemplate>
                        <asp:HyperLink ID="link" runat="server" NavigateUrl='<%# Eval("Url") %>' Visible="true"
                            Target="_blank">
                            <asp:Image ID="logo" runat="server" Width='<%# Convert.ToInt32(Eval("Width")) %>'
                                Height='<%# Convert.ToInt32(Eval("Height")) %>' ImageUrl='<%# Bind("ImageUrl") %>'
                                Visible="true" />
                        </asp:HyperLink>
                    </ItemTemplate>
                </asp:DataList>--%>
                <%= arrayScript %>
            </div>
        </div>
    </div>

    <script language="javascript" type="text/javascript">

        window.addEvent('domready', function() {
            /* thumbnails example */
            new SlideItMoo({ itemsVisible: 1, // the number of thumbnails that are visible
                currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
                autoSlide: 5000, // insert interval in milliseconds
                thumbsContainer: 'thumbs',
                elementScrolled: 'thumb_container',
                overallContainer: 'gallery_container'
            });
        });

    </script>

    </form>
</body>
</html>
